package cn.jsu.oj.dispatchServer.satellite.handler.patrol.hard;

import java.io.Serializable;

/**
 * 操作系统
 *
 * @author shan
 * @date 2022/07/04
 */
public class Os implements Serializable {
    
    private String arch;
    private String cpuEndian;
    private String dataModel;
    private String description;
    private String typeName;
    private String vendor;
    private String version;

    public Os() {
    }

    public Os(String arch, String cpuEndian, String dataModel, String description, String typeName, String vendor, String version) {
        this.arch = arch;
        this.cpuEndian = cpuEndian;
        this.dataModel = dataModel;
        this.description = description;
        this.typeName = typeName;
        this.vendor = vendor;
        this.version = version;
    }

    public String getArch() {
        return arch;
    }

    public void setArch(String arch) {
        this.arch = arch;
    }

    public String getCpuEndian() {
        return cpuEndian;
    }

    public void setCpuEndian(String cpuEndian) {
        this.cpuEndian = cpuEndian;
    }

    public String getDataModel() {
        return dataModel;
    }

    public void setDataModel(String dataModel) {
        this.dataModel = dataModel;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "Os{" +
                "arch='" + arch + '\'' +
                ", cpuEndian='" + cpuEndian + '\'' +
                ", dataModel='" + dataModel + '\'' +
                ", description='" + description + '\'' +
                ", typeName='" + typeName + '\'' +
                ", vendor='" + vendor + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}
